package com.springfairy.service;

import com.springfairy.model.MoodDiary;
import java.time.LocalDate;
import java.util.List;

public interface MoodDiaryService {
    MoodDiary writeDiary(MoodDiary diary);
    MoodDiary getDiaryByUserAndDate(int userId, LocalDate date);
    List<MoodDiary> getAllDiariesByUser(int userId);
    boolean deleteDiary(int id);

    void updateDiary(MoodDiary diary);
}

